public class loop {
    public static void main(String[] args) {
        for(int i=1;i<=10;i++) {
            for(int q=1;q<=(5-i);q++)
                System.out.print("* ");
            }
            System.out.println("\n");
        }
    }
